package com.xinxin.o2o.service.impl;

import com.xinxin.o2o.mapper.AreaMapper;
import com.xinxin.o2o.model.Area;
import com.xinxin.o2o.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 史鑫鑫
 * @date 2019-08-13 17:12
 */
@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    AreaMapper areaMapper;

    @Override
    public List<Area> getAreaList() {
        return areaMapper.queryArea();
    }
}
